This section documents the GigabitEthernet configuration commands.
GE port placement and quantity varies depending on the controller, service platform, or access point model. Configure the GE interface either in the device‘s profile-config context or directly on a device.
The following example uses the config-profile-nx9500-6C8809 instance to configure a GigabitEthernet interface:
nx9500-6C8809(config-profile-testNX9000-if-ge2)#? Interface configuration commands: captive-portal-enforcement Enable captive-portal enforcement on this port cdp Cisco Discovery Protocol channel-group Channel group commands description Interface specific description dot1x 802.1X duplex Set duplex to interface ip Internet Protocol (IP) ipv6 Internet Protocol version 6 (IPv6) lacp LACP commands lacp-channel-group LACP channel commands lldp Link Local Discovery Protocol mac-auth Enable mac-auth for this port no Negate a command or set its defaults power PoE Command qos Quality of service remove-override Remove configuration item override from the device (so profile value takes effect) shutdown Shutdown the selected interface spanning-tree Spanning tree commands speed Configure speed switchport Set switching mode characteristics use Set setting to use clrscr Clears the display screen commit Commit all changes made in this session do Run commands from Exec mode end End current mode and change to EXEC mode exit End current mode and down to previous mode help Description of the interactive help system revert Revert changes service Service Commands show Show running system information write Write running configuration to memory or terminal nx9500-6C8809(config-profile-testNX9000-if-ge2)#
The following table summarizes the interface configuration commands:
Command | Description |
---|---|
captive-portal-enforcement | Enables captive-portal enforcement on this Ethernet port |
cdp | Enables CDP (Cisco Discovery Protocol) on this Ethernet port |
channel-group | Assigns this Ethernet port to a channel group |
description | Configures a description for this Ethernet port |
dot1x (authenticator) | Configures 802.1X authenticator settings |
dot1x (supplicant) | Configures 802.1X supplicant settings |
duplex | Specifies the duplex mode for the interface |
eee | Enables EEE (Energy-Efficient Ethernet) mode on the selected GE port. |
ip | Sets the IP address for this Ethernet port |
ipv6 | Sets the DHCPv6 and ICMPv6 ND (neighbor discovery) components for this interface |
lacp | Configures the selected GE port‘s LACP (Link Aggregation Control Protocol) port-priority value |
lacp-channel-group | Configures the selected GE port as a member of a port-channel group (also referred as LAG) |
lldp | Configures LLDP (Link Local Discovery Protocol) |
mac-auth | Enables MAC-based authentication on this Ethernet port |
no | Removes or reverts the selected Ethernet port settings |
power | Configures PoE (Power over Ethernet ) settings on this interface |
qos | Enables QoS |
shutdown | Disables the selected Ethernet port |
spanning-tree | Configures spanning tree parameters |
speed | Specifies the speed on this Ethernet port |
switchport | Sets interface switching mode characteristics |
use | Associates IPv4, IPv6, and/or MAC ACL with the selected Ethernet port |